package com.atguigu.day12.interface04.in3;

public interface A {
    public default void study(){
        System.out.println("刘亦菲 晚上不要走 我给你讲java");
    }
}
interface B{
    public default void study(){
        System.out.println("赵丽颖 晚上不要走 我给你讲java");
    }
}

class HightStudent{
    public void study(){
        System.out.println("好好学习 天天向上");
    }
}
class Student2 extends HightStudent implements A{

}

class Student implements A,B{
    @Override
    public void study() {
        A.super.study();
        B.super.study();
        System.out.println("听高老师讲java ");
    }
}

